<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .first{
          position: relative;
          font-size: 16px;
        }
        .first .first-div:before{
          content: "";
          position: absolute;
          top: -50%;
          bottom: -50%;
          left: -50%;
          right: -50%;
          width: 200%;
          height: 200%;
          -webkit-transform: scale(0.5);
          transform: scale(0.5);
          border: solid 1px red;
          box-sizing:border-box;
        }
        </style>
</head>
<body>
    <div class="first">
        <div class="first-div">
          HELLO WORLD
        </div>
      </div>

</body>
</html>
